toán tử
Definition
- Noun:
- Operator: In mathematics and computing, an "operator" is a symbol or function that represents a specific mathematical operation (such as addition, subtraction, multiplication, division) or a logical operation (such as AND, OR, NOT) to be performed on one or more operands (values or variables).
Usage Examples
- Noun:
- Dấu cộng (+) là một toán tử số học. (The plus sign (+) is an arithmetic operator.)
- Toán tử "AND" trong lập trình trả về true nếu cả hai điều kiện đều đúng. (The "AND" operator in programming returns true if both conditions are true.)
- Phương trình này sử dụng một toán tử vi phân. (This equation uses a differential operator.)
Advanced Usage
"toán tử logic": logical operator.
- Các toán tử logic thường được dùng trong biểu thức điều kiện. (Logical operators are often used in conditional expressions.)
"toán tử gán": assignment operator.
- Dấu bằng (=) trong ngôn ngữ C là một toán tử gán. (The equals sign (=) in C language is an assignment operator.)
Variants and Related Words
Toán tử một ngôi (n): unary operator (an operator that acts on a single operand).
- Toán tử phủ định (-) là một toán tử một ngôi. (The negation operator (-) is a unary operator.)
Toán tử hai ngôi (n): binary operator (an operator that acts on two operands).
- Phép cộng là một ví dụ về toán tử hai ngôi. (Addition is an example of a binary operator.)
Synonyms
- Operator: A symbol that denotes a mathematical or logical operation.
- Symbol: A sign used to represent an operation.
Related Terms
Toán hạng (n): operand (the value or variable on which an operator acts).
- Trong biểu thức 5 + 3, số 5 và 3 là các toán hạng. (In the expression 5 + 3, the numbers 5 and 3 are operands.)
Biểu thức (n): expression (a combination of operators and operands).
- Một biểu thức toán học có thể chứa nhiều toán tử. (A mathematical expression can contain multiple operators.)